﻿using System.CodeDom.Compiler;
using System.Data.SqlClient;
using System.Diagnostics;
using System.Globalization;

namespace BLL.Services.AutoCompleteService
{
    [GeneratedCode("JQUERY.UI", "1.9"), DebuggerNonUserCode]
    public class AutoCompleteItem
    {
        public AutoCompleteItem(SqlDataReader reader)
        {
            id = reader.GetInt32(0).ToString(CultureInfo.InvariantCulture);
            value = reader.GetString(1);
            label = reader.GetString(1);
        }

        public string id { get; set; }

        public string value { get; set; }

        public string label { get; set; }
    }
}
